from django import template

register = template.Library()

@register.simple_tag
def get_item_quantity (dict, key):
    return dict.get(key, '-')
